<div class="right-panel">
    <h2><?php echo __('HELP_TEMPLATE'); ?>
        <span  class="back-align">
            <?php echo $this->html->link('<< ' . __('BACK', true), array('controller' => 'users', 'action' => 'mydashboard'), array('div' => false, 'alt' => '<< ' . __('BACK', true), 'title' => '<< ' . __('BACK', true), 'class' => 'back-nav', 'escape' => false)); ?>
        </span>
    </h2>
    <div class="content-outer">
        <!-- Div update starts here -->
        <div id="divUpdate">
            <?php 
                if(!empty($help_file_array)){ ?>
                    <table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#686550">
                        <tr class="heading"  bgcolor="#708089">
                            <td width="6%" valign="top" align="left"><?php echo __('S.NO') ?></td>
                            <td valign="top"  align="left"><?php echo  __('FILE_NAME', true); ?></td>
                            <td valign="top"  align ="left"><?php echo __('ACTION', true); ?></td>
                        </tr><?php
                        $i = 0;
                        foreach($help_file_array as $excel_file){ 
                                    ?>
                                    <tr class="heading2" bgcolor="#ffffff">
                                        <td>&nbsp;<?php echo $i + 1 ?></td>
                                        <td><?php
                                            echo $excel_file;
                                            ?>
                                        </td>
                                        <td>&nbsp;<?php 
                                            echo $this->HTML->link(
                                                'Download', 
                                                array(
                                                    'controller' => 'reports',
                                                    'action' => 'download', $excel_file, 'help_file'
                                                )
                                            );
                                        ?> </td>
                                    </tr>  
                                    <?php
                                    $i++;
                                }
                    } else { ?>
                        <tr>
                            <td colspan="12" bgcolor="#ffffff" align="center">
                                <div class="pagination">            
                                    <?php echo __("NO_RECORD_MESSAGE"); ?>              
                                </div>
                            </td>
                        </tr> <?php
                    }?>
            </table>
        </div>
    </div>
<!--content-outer End-->
</div>